package com.sc.VenusQueryBeta.model.bean.home;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Administrator on 9/10/2018.
 *首页banner 轮播实体类
 */

public class HomeBannerBean {

    /**
     * msg : 查询成功
     * code : 0000
     * data : [{"activityId":6,"deleted":0,"createTime":"2018-09-12 15:37:43.19","deprecated":0,"detailInfoUrl":"","imageUrl":"/upload/activitity/1536737863170.jpg","detailInfo":"<div style=\"word-wrap:break-word;width: 100%; max-width: 100%;margin: 0 auto;\" ><p>sdfaf adfwerqwerqwerqwer<\/p><\/div><script>\r\n\t\tvar imgs = document.getElementsByTagName('img');\r\n\t\tfor(var i=0;i<imgs.length;i++){   \r\n\t\t\tvar img = imgs[i];\r\n\t\t\timg.style.maxWidth='100%';\r\n\t\t\timg.style.height='auto';\r\n\t\t}\r\n\t<\/script>","updateTime":"2018-09-12 15:37:46.033","activityType":0,"title":"This is the title ","popular":0},{"activityId":5,"deleted":0,"createTime":"2018-09-12 15:01:31.453","deprecated":0,"detailInfoUrl":"","imageUrl":"/upload/activitity/1536735691430.png","detailInfo":"<div style=\"word-wrap:break-word;width: 100%; max-width: 100%;margin: 0 auto;\" ><p>sdlkfa工田木大口土工田木大口；adlkfadfa<\/p><p><br/><\/p><\/div><script>\r\n\t\tvar imgs = document.getElementsByTagName('img');\r\n\t\tfor(var i=0;i<imgs.length;i++){   \r\n\t\t\tvar img = imgs[i];\r\n\t\t\timg.style.maxWidth='100%';\r\n\t\t\timg.style.height='auto';\r\n\t\t}\r\n\t<\/script>","updateTime":"2018-09-12 15:01:33.547","activityType":0,"title":"林","popular":0},{"activityId":2,"deleted":0,"createTime":"2018-09-10 14:47:20.767","deprecated":0,"detailInfoUrl":"","imageUrl":"/upload/activitity/1536728807829.png","detailInfo":"<div style=\"word-wrap:break-word;width: 100%; max-width: 100%;margin: 0 auto;\" ><p style=\"text-align: center;\"><span style=\"text-align: center;\"><\/span><span style=\"text-align: center;\">VGS　ROLLING　INFO　２<\/span><\/p><p><span style=\"text-align: center;\"><img src=\"/DJAppWebServe/../upload/images/20180910/1536562029412056366.jpg\" title=\"1536562029412056366.jpg\" alt=\"Desert.jpg\"/><\/span><\/p><p style=\"text-align: left;\">testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest<\/p><\/div><script>\r\n\t\tvar imgs = document.getElementsByTagName('img');\r\n\t\tfor(var i=0;i<imgs.length;i++){   \r\n\t\t\tvar img = imgs[i];\r\n\t\t\timg.style.maxWidth='100%';\r\n\t\t\timg.style.height='auto';\r\n\t\t}\r\n\t<\/script>","updateTime":"2018-09-12 13:06:56.157","activityType":0,"title":"\u200bVGS滾動資訊2","popular":0},{"activityId":1,"deleted":0,"createTime":"2018-09-10 14:45:52.34","deprecated":0,"detailInfoUrl":"","imageUrl":"/upload/activitity/1536561952297.jpg","detailInfo":"<div style=\"word-wrap:break-word;width: 100%; max-width: 100%;margin: 0 auto;\" ><p style=\"text-align: center;\">VGS滾動資訊1<\/p><p><span style=\"text-align: center;\"><\/span><span style=\"text-align: center;\">VGS滾動資訊1<\/span><span style=\"text-align: center;\"><\/span><span style=\"text-align: center;\">VGS滾動資訊1<\/span><span style=\"text-align: center;\"><\/span><span style=\"text-align: center;\">VGS滾動資訊1<\/span><span style=\"text-align: center;\"><\/span><span style=\"text-align: center;\">VGS滾動資訊1<\/span><span style=\"text-align: center;\"><\/span><span style=\"text-align: center;\">VGS滾動資訊1<\/span><span style=\"text-align: center;\"><\/span><span style=\"text-align: center;\">VGS滾動資訊1<\/span><span style=\"text-align: center;\"><\/span><span style=\"text-align: center;\">VGS滾動資訊1<\/span><span style=\"text-align: center;\"><\/span><span style=\"text-align: center;\">VGS滾動資訊1<\/span><\/p><p><img src=\"/DJAppWebServe/../upload/images/20180910/1536561947925057443.jpg\" title=\"1536561947925057443.jpg\" alt=\"Tulips.jpg\"/><\/p><\/div><script>\r\n\t\tvar imgs = document.getElementsByTagName('img');\r\n\t\tfor(var i=0;i<imgs.length;i++){   \r\n\t\t\tvar img = imgs[i];\r\n\t\t\timg.style.maxWidth='100%';\r\n\t\t\timg.style.height='auto';\r\n\t\t}\r\n\t<\/script>","updateTime":"2018-09-10 14:45:54.4","activityType":0,"title":"VGS滾動資訊1","popular":0}]
     * success : true
     */
    @SerializedName("msg")
    private String msg;
    @SerializedName("code")
    private String code;
    @SerializedName("success")
    private boolean success;
    @SerializedName("data")
    private List<DataBean> data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * activityId : 6
         * deleted : 0
         * createTime : 2018-09-12 15:37:43.19
         * deprecated : 0
         * detailInfoUrl :
         * imageUrl : /upload/activitity/1536737863170.jpg
         * detailInfo : <div style="word-wrap:break-word;width: 100%; max-width: 100%;margin: 0 auto;" ><p>sdfaf adfwerqwerqwerqwer</p></div><script>
         var imgs = document.getElementsByTagName('img');
         for(var i=0;i<imgs.length;i++){
         var img = imgs[i];
         img.style.maxWidth='100%';
         img.style.height='auto';
         }
         </script>
         * updateTime : 2018-09-12 15:37:46.033
         * activityType : 0
         * title : This is the title
         * popular : 0
         */
        @SerializedName("activityId")
        private int activityId;
        @SerializedName("deleted")
        private int deleted;
        @SerializedName("createTime")
        private String createTime;
        @SerializedName("deprecated")
        private int deprecated;
        @SerializedName("detailInfoUrl")
        private String detailInfoUrl;
        @SerializedName("imageUrl")
        private String imageUrl;
        @SerializedName("detailInfo")
        private String detailInfo;
        @SerializedName("updateTime")
        private String updateTime;
        @SerializedName("activityType")
        private int activityType;
        @SerializedName("title")
        private String title;
        @SerializedName("popular")
        private int popular;

        public int getActivityId() {
            return activityId;
        }

        public void setActivityId(int activityId) {
            this.activityId = activityId;
        }

        public int getDeleted() {
            return deleted;
        }

        public void setDeleted(int deleted) {
            this.deleted = deleted;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public int getDeprecated() {
            return deprecated;
        }

        public void setDeprecated(int deprecated) {
            this.deprecated = deprecated;
        }

        public String getDetailInfoUrl() {
            return detailInfoUrl;
        }

        public void setDetailInfoUrl(String detailInfoUrl) {
            this.detailInfoUrl = detailInfoUrl;
        }

        public String getImageUrl() {
            return imageUrl;
        }

        public void setImageUrl(String imageUrl) {
            this.imageUrl = imageUrl;
        }

        public String getDetailInfo() {
            return detailInfo;
        }

        public void setDetailInfo(String detailInfo) {
            this.detailInfo = detailInfo;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public int getActivityType() {
            return activityType;
        }

        public void setActivityType(int activityType) {
            this.activityType = activityType;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public int getPopular() {
            return popular;
        }

        public void setPopular(int popular) {
            this.popular = popular;
        }
    }
}
